import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入手机号:");
        String telString = sc.nextLine();
//        截取前三位
        String start = telString.substring(0, 3);
//        截取后四位
        String end = telString.substring(telString.length() - 4);
        System.out.println(start + "****" + end);
    }
}
